package top.xzhanyao.yowshare.dashboard.entity;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 权限
 * </p>
 *
 * @author zhanyao
 * @since 2018-07-13
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class Authority implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    private String id;
    /**
     * 权限名
     */
    private String name;
    /**
     * 权限代码
     */
    private String code;
    /**
     * 父权限主键
     */
    private String parentId;
    /**
     * 权限级别
     */
    private Integer level;
    /**
     * 排序号
     */
    private Integer orderId;


}
